#include"server.hpp"

//  ./server 8080
int main(int argc,char* args[])
{
    if(argc!=2)
    {
        std::cout<<"you must input such as: ./server 8080"<<std::endl;
        exit(0);
    }
    std::string port=args[1];

    server svr(std::stoi(port.c_str()));
    svr.Start();

    return 0;
}